package com.woniuxy.system.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.exception.customException.TheAddedHasBeenExist;
import com.woniuxy.system.entity.AssessmentItems;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 考核项 服务类
 * </p>
 *
 * @author woniuxy
 * @since 2022-06-01
 */
public interface AssessmentItemsService extends IService<AssessmentItems> {
    boolean addAssessmentItem(AssessmentItems assessmentItems, String indicatorId, String userid) throws TheAddedHasBeenExist;
    Page<AssessmentItems> getAllAssessmentItems(Page<AssessmentItems> page, QueryWrapper<AssessmentItems> wrapper);
}
